﻿/***************************************************************
*       
* add by OceanHo 2015/9/16 11:42:32
*
****************************************************************/

using oceanho.webapi.factory.httpCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace oceanho.webapi.factory.httpUtility
{
    internal static class CommonUtility
    {
        internal static bool TypeIsValueTypeOrString(Type type)
        {
            if (type == null)
                throw new APIFW_NullReferenceException();

            return type.IsValueType || type == typeof(string);
        }
    }
}
